<?php

namespace common\models;

use Yii;

/**
 * This is the model class for table "know_clas_subject".
 *
 * @property integer $id
 * @property string $knowClasSubejctID
 * @property string $idname
 * @property string $fid
 * @property string $topID
 */
class KnowClasSubjectModel extends \yii\db\ActiveRecord
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return 'know_clas_subject';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['knowClasSubejctID', 'idname', 'fid', 'topID'], 'string', 'max' => 255],
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'knowClasSubejctID' => 'Know Clas Subejct ID',
            'idname' => 'Idname',
            'fid' => 'Fid',
            'topID' => 'Top ID',
        ];
    }
}
